projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9f9f64
)
(file_name_absolute_p) [WINDOWSNT]: Use isalpha().
author
Jason Rumney
<jasonr@gnu.org>
Sat, 25 Nov 2006 00:32:40 +0000
(
00:32
+0000)
committer
Jason Rumney
<jasonr@gnu.org>
Sat, 25 Nov 2006 00:32:40 +0000
(
00:32
+0000)
lib-src/emacsclient.c
patch
|
blob
|
history
diff --git
a/lib-src/emacsclient.c
b/lib-src/emacsclient.c
index 5e8b563984d9cc3fc977350020fdf3ba10c1cc80..6970c1ab9a4d521df10c6534f81daaae8289c079 100644
(file)
--- a/
lib-src/emacsclient.c
+++ b/
lib-src/emacsclient.c
@@
-451,7
+451,7
@@
file_name_absolute_p (filename)
#ifdef WINDOWSNT
/* X:\xxx is always absolute; X:xxx is an error and will fail. */
- if (is
lower (tolower (filename[0])
)
+ if (is
alpha (filename[0]
)
&& filename[1] == ':' && (filename[2] == '\\' || filename[2] == '/'))
return TRUE;